﻿{% extends "base.html"%}

{% block title %}PaperLens-connect status{% endblock %}

{% block bodyblock %}

<div id="content-main">

<!--douban connect info-->
<div>
<p>douban connect status</p>

{% ifequal doubancon '1'%}
{{doubaninfo}}
<a href='/basicuser/canceldoubancon'>disconnect douban</a>
{% else %}
<a href='/doubancon/connect'>
<img src="http://img3.douban.com/pics/doubanicon-24.png" />
</a>
{% endifequal %}

</div>


<!--sina connect info-->
<div>
<p>sina connect status</p>

{% ifequal sinacon '1'%}
{{sinainfo}}
<a href="/basicuser/cancelsinacon">disconnect sina</a>
{% else %}
<a href='/weibo/connect'>
<img src="http://www.sinaimg.cn/blog/developer/wiki/240.png" />
</a>
{% endifequal %}

</div>

</div>

{% endblock %}
